toggle menu
JxBrowser
8.0.0-eap.3
jvm
switch theme
search in API
JxBrowser
/
com.teamdev.jxbrowser.net
/
[jvm]ByteData
Byte
Data
interface
ByteData
:
UploadData
An upload data as a sequence of bytes.
Members
Functions
bytes
Link copied to clipboard
open
fun
bytes
(
)
:
Array
<
Byte
>
Returns an array containing the upload data bytes of the associated URL request.
content
Type
Link copied to clipboard
open
fun
contentType
(
)
:
ContentType
Returns the content type of this upload data as specified in the
Content-Type
header.
of
Link copied to clipboard
open
fun
of
(
data
:
Array
<
Byte
>
)
:
ByteData
open
fun
of
(
data
:
String
)
:
ByteData
Creates an instance of
ByteData
with the given upload data bytes.
open
fun
of
(
data
:
Array
<
Byte
>
,
contentType
:
ContentType
)
:
ByteData
open
fun
of
(
data
:
String
,
contentType
:
ContentType
)
:
ByteData
Creates an instance of
ByteData
with the given upload data bytes and content type.